'use strict';
/* Controllers */
// capital controller
app.controller('capitalBindListCtrl', ['$scope', 'apiService', 'toaster', '$rootScope', '$timeout', '$window', function ($scope, apiService, toaster, $rootScope, $timeout, $window) {
    $scope.account = {
        memberId: $rootScope.userObj['id']
    };

    apiService.post({
        modelName: 'account',
        apiName: 'getAccountByMem'
    }, {
        memberId: $rootScope.userObj['id']
    }, function (data) {
        if (data.code == 200) {
            $scope.pageData=data['data'];
        } else {}
    }, function (err) {
        console.log(err);
    });






}]);